﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="false" CodeFile="MTSCTYPE_1_05_9.aspx.vb" Inherits="Administrator_MTSCTYPE_1_05_9" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="width:100%;">
                <tr>
                    <td align="right" width="150">
                        <asp:Label ID="lbCode" runat="server" CssClass="control"></asp:Label>
                    </td>
                    <td align="left" style="height: 26px">
                        <asp:TextBox ID="txtCode" runat="server" CssClass="control" 
                            Height="20px" Width="170px" MaxLength="2"></asp:TextBox>
                    </td>
                    <td width="250">&nbsp;</td>
                    <td>&nbsp</td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblName" runat="server" CssClass="control"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtName" runat="server" CssClass="control" 
                            Height="20px" Width="315px"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="lblMethod" runat="server" CssClass="control" Text="Transaction Method"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtMethod" runat="server" CssClass="control" 
                            Height="20px" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblXml1" runat="server" CssClass="control" Text="ข้อมูล XML ส่วนที่ 1" /></td>
                    <td align="left">
                        <asp:DropDownList ID="ddlXml1" runat="server" CssClass="control" Width="150px">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Text="ผู้โอน" Value="SEND" />
                            <asp:ListItem Text="ผู้รับโอน" Value="RECEIVE" />
                        </asp:DropDownList></td>
                    <td align="right">
                        <asp:Label ID="lblXml2" runat="server" CssClass="control" Text="ข้อมูล XML ส่วนที่ 2" /></td>
                    <td align="left">
                        <asp:DropDownList ID="ddlXml2" runat="server" CssClass="control" Width="150px">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Text="ผู้โอน" Value="SEND" />
                            <asp:ListItem Text="ผู้รับโอน" Value="RECEIVE" />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblCustAccNo" runat="server" CssClass="control" Text="หมายเลขบัญชีของลูกค้า (am_customeraccno)" /></td>
                    <td align="left">
                        <asp:DropDownList ID="ddlCustAccNo" runat="server" CssClass="control" Width="150px">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Text="ผู้โอน" Value="SEND" />
                            <asp:ListItem Text="ผู้รับโอน" Value="RECEIVE" />
                        </asp:DropDownList></td>
                    <td align="right">
                        <asp:Label ID="lblRelationship" runat="server" CssClass="control" Text="ข้อมูลความสัมพันธ์ของผู้ร่วมทำธุรกรรม (XML ส่วนที่ 2)" /></td>
                    <td align="left">
                        <asp:DropDownList ID="ddlRelationship" runat="server" CssClass="control" Width="150px">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Text="ผู้ร่วมทำธุรกรรม" Value="COTRAN" />
                            <asp:ListItem Text="ผู้มอบหมาย" Value="DELEGATOR" />
                            <asp:ListItem Text="ผู้มอบอำนาจ" Value="AUTHORIZER" />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;
                    <td align="left">
                        &nbsp;
                    <td align="right">
                        <asp:Label ID="Label2" runat="server" CssClass="control" Text="ข้อมูลผู้ร่วมทำธุรกรรม (XML ส่วนที่ 2)" /></td>
                    <td align="left">
                        <asp:DropDownList ID="ddlCoTran" runat="server" CssClass="control" Width="150px">
                            <asp:ListItem></asp:ListItem>
                            <asp:ListItem Text="ฝั่งผู้โอน" Value="SEND" />
                            <asp:ListItem Text="ฝั่งผู้รับโอน" Value="RECEIVE" />
                            <asp:ListItem Text="ฝั่งผู้โอนและผู้รับโอน" Value="BOTH" />
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right" colspan="4">
                        <asp:Button ID="btnSearch" runat="server" CssClass="control" Text="search" 
                            Width="80px" />
                        <asp:Button ID="btnAdd" runat="server" CssClass="control" Text="Add" 
                            Width="80px" />
                        <asp:Button ID="btnModify" runat="server" CssClass="control" Text="Modify" 
                            Width="80px" />
                        <asp:Button ID="btnDelete" runat="server" CssClass="control" Text="Delete" 
                            Width="80px" />
                        <asp:Button ID="btnClear" runat="server" CssClass="control" Text="Clear" 
                            Width="80px" />
                        <asp:Button ID="btnPrint" runat="server" CssClass="control" Text="Print" 
                            Width="80px" Visible="false" />
                    </td>
                </tr>
            </table>
            <div align="center">
                <asp:Label ID="lblMsg" runat="server" CssClass="control" Font-Size="XX-Large" 
                        ForeColor="Red" Height="30px" style="text-align: center" 
                    Font-Bold="True"></asp:Label>
                <asp:GridView ID="grdMaster" runat="server" AllowPaging="True" 
                    AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
                    CssClass="control" ForeColor="#333333" Width="100%">
                    <FooterStyle BackColor="White" Font-Bold="True" ForeColor="#333333" />
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <PagerSettings Mode="NumericFirstLast" />
                    <PagerStyle BackColor="#FFCC66" CssClass="cssPager" ForeColor="#333333" 
                        HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#FFFFCC" Font-Bold="True" ForeColor="Navy" />
                    <HeaderStyle BackColor="#E38120" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:CommandField ButtonType="Image" 
                            SelectImageUrl="~/img/icon/select_icon.gif" ShowSelectButton="True">
                        <ItemStyle Width="3%" />
                        </asp:CommandField>
                        <asp:BoundField DataField="TSCTYPEID" HeaderText="รหัสชนิดธุรกรรม" 
                            ReadOnly="True" SortExpression="TSCTYPEID">
                        <ItemStyle HorizontalAlign="Left" Width="150px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TSCTYPENAME" HeaderText="ชื่อชนิดธุรกรรม" 
                            ReadOnly="True" SortExpression="TSCTYPENAME">
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="TSCMETHOD" HeaderText="Transaction Method" 
                            ReadOnly="True" SortExpression="TSCMETHOD">
                        <ItemStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                    </Columns>
                </asp:GridView>
            </div>
            <div align="right">
                <asp:Label ID="lblTotal" runat="server" Font-Bold="True" ForeColor="#003300"></asp:Label>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

